<?php
$s="&gt;&gt; <a href=\"javascript:void(0)\" onclick='ajaxList(\"list=StudentCourses\")'>Courses</a>";
if ( isset( $course ) && isset( $lesson ) ) $s .= "&gt;&gt; <a href=\"javascript:void(0)\" onclick='ajaxCall(\"f=listStudentLessons&amp;id=".$course->CourseID()."\")'>Lessons</a>";
if ( isset( $lesson ) && isset( $module ) )  $s .= "&gt;&gt; <a href=\"javascript:void(0)\" onclick='ajaxCall(\"f=listStudentModules&amp;id=".$lesson->LessonID()."\")'>Modules</a>";
$menu="<ul>
<li>View $s</li>
</ul>";
?>
